package com.mobile.challenge.api;

import com.mobile.challenge.bean.BaseBean;
import com.mobile.challenge.bean.ManagerWeekMonthDataBean;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @Author Touge
 * @Date 2020/9/17 17:26
 * @Description
 */
public interface ManagerMonthDataService {

    /**
     * tracking/getMUnitReportByDateRange?userId=104&startDate=2020-09-10&endDate=2020-09-16
     */

    @GET("tracking/getMUnitReportByDateRange")
    Observable<BaseBean<List<ManagerWeekMonthDataBean>>> getData(
            @Query("userId")
                    int userId,
            @Query("startDate")
                    String startDate,
            @Query("endDate")
                    String endDate
    );


}
